<template>
	<view class="content">
		<view class="header">
			<view class="header_bg">
				<view class="search">
					<image src="../../../static/home/search.png" mode=""></image>
					<input type="text" value="" placeholder="搜索" />
				</view>

				<view class="school" v-for="(item,index) in schoollist">
					<view class="school1">
						<text>{{item.title}}</text>
					</view>
					<view class="school2">
						<text>有班级等待审核</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				schoollist: [{
						id: 0,
						title: 'A校园名称',
					},
					{
						id: 0,
						title: 'A校园名称',
					},
					{
						id: 0,
						title: 'A校园名称',
					},
					{
						id: 0,
						title: 'A校园名称',
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		width: 750rpx;
		height: 1624rpx;
		background: #FAFAFA;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.header {
		width: 750rpx;
		height: 240rpx;
		background: linear-gradient(180deg, #1789FF 0%, #93C3F9 100%);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.header_bg {
		padding-top: 40rpx;
	}

	.search {
		margin: auto;
		display: flex;
		align-items: center;
		width: 690rpx;
		height: 88rpx;
		background: #FFFFFF;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
	}

	.search image {
		width: 34rpx;
		height: 34rpx;
		margin-left: 28rpx;
		margin-right: 24rpx;
	}

	.school {
		width: 690rpx;
		height: 116rpx;
		background: #FFFFFF;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 32rpx auto 0;
	}
	.school1{
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		font-size: 32rpx;
		color: #333333;
		margin-left: 40rpx;
	}
	.school2{
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FF7067;
		margin-right: 32rpx;
	}
</style>